package com.zerui.manager.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @Author wh
 * @create_time 2023-08-29 16:56
 */
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude
public class AccessAuthOrgPageVO {

    @ApiModelProperty("部门ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "上级部门id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long parentOrgId;

    @ApiModelProperty(value = "部门名称")
    private String orgName;

    @ApiModelProperty("上级部门名称")
    private String parentOrgName;

    @ApiModelProperty("部门员工数")
    private Integer num;

    @ApiModelProperty("门禁授权id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long accessAuthId;


}
